package gwt.immunology.client.service;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import gwt.immunology.shared.GenericDto;
import gwt.immunology.shared.ResultSetDto;

@RemoteServiceRelativePath("patient")
public interface PatientsService extends RemoteService {
    GenericDto registerNewPatient(GenericDto patientDto);

    void deletePatient(Long patientId);

    GenericDto getPatientById(Long patientId);

    void editPatientInfo(GenericDto patientDto);

    ResultSetDto getAllPatients();

    GenericDto findPatients(GenericDto searchCriteria);
}
